package edu.xy.hm02_01;

import edu.xy.hm02_01.slice.*;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());

        this.addActionRoute( "mainabilityslice_01",MainAbilitySlice_01.class.getName());
        this.addActionRoute( "mainabilityslice_02",MainAbilitySlice_02.class.getName());
        this.addActionRoute( "mainabilityslice_03",MainAbilitySlice_03.class.getName());
        this.addActionRoute( "mainabilityslice_04",MainAbilitySlice_04.class.getName());
        this.addActionRoute( "mainabilityslice_05",MainAbilitySlice_05.class.getName());

    }
}